package com.fh.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.utils.bean.*;
import com.fh.service.UserService;
import com.fh.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user(用户表)】的数据库操作Service实现
* @createDate 2023-04-20 14:28:14
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
implements UserService{

    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> getUser(Integer id) {
        return userMapper.getUser(id);
    }

    @Override
    public void updateMoney(Money money) {
        userMapper.updateMoney(money);
    }


}
